public class DeptData {

    private String dno;//系号
    private String dname;//系名
    private String mno;//专业号
    private String mname;//专业名

    public String getDno() {
        return dno;
    }

    public void setDno(String dno) {
        this.dno = dno;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String getMno() {
        return mno;
    }

    public void setMno(String mno) {
        this.mno = mno;
    }

    public String getMname() {
        return mname;
    }

    public void setMname(String mname) {
        this.mname = mname;
    }

    @Override
    public String toString() {
        return "DeptData{" +
                "dno='" + dno + '\'' +
                ", dname='" + dname + '\'' +
                ", mno='" + mno + '\'' +
                ", mname='" + mname + '\'' +
                '}';
    }
}
